<?php
declare (strict_types = 1);

namespace adminmatrix\plugins;

use think\App;
use think\Request;
use think\facade\View;

abstract class Plugins
{
    protected Request $request;
    public function __construct( protected App $app )
    {
        $this->app = $app;
        $this->request = $this->app->request;
        View::config([
            'view_path' =>  $this->app->getAppPath(). 'views' .DS ,
        ]);
    }


}
